<!-- 船舶情况 -->
<script setup>
</script>

<template>
  <div class="main">
    <!-- 搜索框 -->
    <div class="search">
      <!-- <van-search
        v-model="searChval"
        show-action
        autocomplete="off"
        @click-input="showBridgeChoose = true"
        placeholder="输入关键字搜索"
      >
        <template #action>
          <div @click="onSearch(searChval)" class="searchBtnBox">
            <span class="line"></span>
            <span class="searchBtn">搜索</span>
          </div>
        </template>
      </van-search> -->
      <!-- 搜索结果 -->
      <!-- <div
        class="searchResult"
        v-show="searchResultList && searchResultList.length != 0"
      >
        <div class="removeScroll">
          <div
            class="item"
            v-for="item in searchResultList"
            :key="item.id"
            @click="goToItemDetail(item)"
          >
            {{ item.bridgeName }}
          </div>
        </div>
      </div> -->
    </div>
    <!-- 没数据页面 -->
    <div class="noMessage" v-if="!showTabItem">
      <div class="top">
        <img src="../../static/images/Slice28.png" alt="" />
      </div>
      <div class="bottom">敬请期待...</div>
    </div>
  </div>
</template>

<style lang="scss" scoped>
.main {
  display: flex;
  flex-direction: column;
  height: 100%;
  // margin-bottom: 66px;
  background: #fff;
  overflow-y: auto;
  .search {
    /* margin: 0 16px; */
    /* margin-right: 16px; */
    padding-right: 16px;
    background: #ffffff;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.09);
    z-index: 9999;
    position: relative;
    .line {
      width: 1px;
      height: 20px;
      border: 1px solid rgba(0, 0, 0, 0.1);
    }
    .searchBtn {
      margin-left: 16px;
      margin-right: 8px;
      width: 32px;
      height: 22px;
      font-size: 16px;
      font-weight: 500;
      color: rgba(0, 0, 0, 0.6);
      line-height: 19px;
    }
    .searchResult {
      overflow: hidden;
      .removeScroll {
        height: 390px;
        width: 100.5%; //挤掉滚动条
        background-color: #fff;
        position: absolute;
        top: 54px;
        left: 0;
        overflow-y: scroll;
        .item {
          font-size: 15px;
          font-family: PingFang SC-Regular, PingFang SC;
          font-weight: 400;
          color: rgba(0, 0, 0, 0.9);
          padding-top: 16px;
          padding-bottom: 12px;
          margin-left: 16px;
          position: relative;
        }
        .item::after {
          content: "";
          width: 342px;
          height: 1px;
          position: absolute;
          background: rgba(0, 0, 0, 0.06);
          top: 50px;
          left: 0;
        }
      }
    }
  }

  .noMessage {
    margin-top: 12px;
    // flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    // transform:translateY(-50%)
    .top {
      margin-top: 134px;
    }
    .bottom {
      font-size: 14px;
      font-family: PingFang SC-Regular, PingFang SC;
      font-weight: 400;
      color: rgba(0, 0, 0, 0.6);
    }
  }
}

::v-deep .van-search__content {
  background: #f5f5f5;
  border-radius: 6px 0 0 6px;
}
::v-deep .van-search__action {
  background: #f5f5f5;
  border-radius: 0 6px 6px 0;
}
::v-deep .van-radio__icon {
  height: 100%;
}
</style>
<style>
::v-deep .el-cascader-panel.is-bordered {
  width: 33%;
}
::v-deep .el-cascader-node {
  padding: 0px;
}
</style>